Support tofu+pgp trust model in GnuPG
authorBenjamin Barenblat <bbaren@google.com>
Mon, 25 May 2026 11:04:01 +0000 (13:04 +0200)
committerRene Engelhard <rene@debian.org>
Mon, 25 May 2026 11:04:01 +0000 (13:04 +0200)
commit9c420e7d7ae074d1eccf708fb2437f31c1cc4dec
treec335ad323972acd56bc92395208c211e28edd078
parenteb34916f6e5a932b4e4ba65419203a2a815a2da8
Support tofu+pgp trust model in GnuPG

Bug-Debian: https://bugs.debian.org/955271
Forwarded: no

GnuPG supports a trust-on-first-use layer that sits on top of the
standard PGP trust model. If this is enabled, 'gpg --list-keys' needs
write and lock permissions on the TOFU database to return any useful
data. Allow this access through AppArmor.

Gbp-Pq: Name apparmor-gnupg-tofu.diff
sysui/desktop/apparmor/program.soffice.bin